package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;

import java.math.BigDecimal;
import javax.persistence.Table;

/**
 * 用工单位账面余额明细表
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_company_balance_record")
public class CompanyBalanceRecordDO extends BaseDeleteDO<Long> {

    private static final long serialVersionUID = 1L;

    /**
     * 用工单位余额ID
     */
    private Long balanceId;
    /**
     * 年份
     */
    private Integer yearly;
    /**
     * 月份
     */
    private Integer monthly;
    /**
     * 用工单位ID
     */
    private String companyId;
    /**
     * 用工单位名称
     */
    private String companyName;
    /**
     * 租户名称
     */
    private String siteName;
    /**
     * 操作类型
     */
    private Integer changeType;
    /**
     * 是否是删除账单;1:是0:否
     */
    private Boolean deleteStatus;
    /**
     * 业务id;具体业务的id
     */
    private String subjectId;
    /**
     * 操作金额
     */
    private BigDecimal changeAmount;
    /**
     * 操作前账户余额
     */
    private BigDecimal beforeAmount;
    /**
     * 操作后账户余额
     */
    private BigDecimal afterAmount;



}

